html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

.container {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 70vh;
  display: flex;
  background-image: url("./666.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  .wraper {
    display: flex;
    margin: auto;
    .item {
      margin: 0 15px;
      cursor: pointer;
      display: flex;
      background-color: #02b6fd;
      border-radius: 10px;
      opacity: 0.5;
      transition: all 0.3s;
      .left {
        width: 0px;
        height: 100%;
        transition: width 0.5s ease 0s;
      }
      .right {
        width: 100px;
        height: 300px;
        writing-mode: vertical-rl;
        display: flex;
        justify-content: center;
        align-items: center;
        letter-spacing: 5px;
        font-weight: bold;
        font-size: 22px;
        color: #fff;
      }
      &.active {
        opacity: 1;
        .left {
          width: 400px;
        }
      }
    }
  }
}
